<template>
  <el-result icon="info" title="抱歉！" sub-title="您没有操作权限~">
    <template #extra>
      <el-button type="primary" @click="handleGoback">回到首页</el-button>
    </template>
  </el-result>
</template>

<script setup lang="ts">
const router = useRouter()
/**
 * 回到首页
 */
const handleGoback = () => router.push('/')
</script>

<style scoped></style>
